package com.softstao.guoyu.model.shop;

import java.io.Serializable;

/**
 * Created by vaikus on 2017/7/21.
 */

public class CartGoods implements Serializable{
    /**
     * productId : 1
     * name : 原汁机(绿色)
     * num : 16
     * price : 300.0
     * subtotal : 9000.0
     * boxNum : 8
     * img : www.baidu.com
     */

    private int productId;
    private String name;
    private int num;
    private float price;
    private float subtotal;
    private int boxNum;
    private String img;

    public int getProductId() {
        return productId;
    }

    public void setProductId(int productId) {
        this.productId = productId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getNum() {
        return num;
    }

    public void setNum(int num) {
        this.num = num;
    }

    public float getPrice() {
        return price;
    }

    public void setPrice(float price) {
        this.price = price;
    }

    public float getSubtotal() {
        return subtotal;
    }

    public void setSubtotal(float subtotal) {
        this.subtotal = subtotal;
    }

    public int getBoxNum() {
        return boxNum;
    }

    public void setBoxNum(int boxNum) {
        this.boxNum = boxNum;
    }

    public String getImg() {
        return img;
    }

    public void setImg(String img) {
        this.img = img;
    }
}
